package com.witdata.framework.service.docker;

import com.witdata.common.domain.dto.InstanceContainerDto;
import com.witdata.common.domain.docker.Container;

import java.util.List;

public interface DockerService {

    Container createContainer(InstanceContainerDto instanceContainerDto);

    void startContainer(InstanceContainerDto instanceContainerDto);

    List<Container> getContainerList(Long instanceId);

    void removeContainer(InstanceContainerDto instanceContainerDto);

    void stopContainer(InstanceContainerDto instanceContainerDto);
}